package cn.sdack.go.users.service;

import cn.sdack.go.common.entities.users.AuthorityEntity;
import cn.sdack.go.common.querys.users.AuthorityQuery;
import org.springframework.data.domain.Page;

/**
 * @author sdack
 * @date 2024/1/9
 */
public interface AuthorityService {

    Page<AuthorityEntity> queryAll(AuthorityQuery param,int page,int pageSize);

    AuthorityEntity getById(Long id) throws Exception;

    AuthorityEntity add(AuthorityEntity param) throws Exception;

    AuthorityEntity set(AuthorityEntity param) throws Exception;

    void del(Long id) throws Exception;

}
